package factory;

public class FactoryMain {
public static void main(String[] args) {
	Factory factory=new Factory();
	Shape client1=(Shape) Factory.getShape(Client1.class);
	client1.drow();
	
	Shape client2=(Shape) Factory.getShape(Client2.class);
	client2.drow();
	
	Shape client3=(Shape) Factory.getShape(Client3.class);
	client3.drow();
	
}
}
